package com.ruoyi.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 手机端服务详情对象 mobil_service_details
 *
 * @author ruoyi
 * @date 2025-01-20
 */
public class MobilServiceDetails extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Integer id;

    /** 服务项目名 */
    @Excel(name = "服务项目名")
    private String name;

    /** 商户id */
    @Excel(name = "商户id")
    private Integer mId;

    /** 服务类别 */
    @Excel(name = "服务类别")
    private Integer typeId;

    /** 原价 */
    @Excel(name = "原价")
    private Float originalPrice;

    /** 折扣价 */
    @Excel(name = "折扣价")
    private Float presentPrice;

    /** 服务介绍 */
    @Excel(name = "服务介绍")
    private String introduction;

    /** 服务图片 */
    @Excel(name = "服务图片")
    private String img;

    /** 删除状态 */
    private Integer deleted;

    /** 服务类型名称（关联查询字段） */
    private String typeName;

    /** 是否选中（前端使用） */
    private Boolean selected = false;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setmId(Integer mId) {
        this.mId = mId;
    }

    public Integer getmId() {
        return mId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setOriginalPrice(Float originalPrice) {
        this.originalPrice = originalPrice;
    }

    public Float getOriginalPrice() {
        return originalPrice;
    }

    public void setPresentPrice(Float presentPrice) {
        this.presentPrice = presentPrice;
    }

    public Float getPresentPrice() {
        return presentPrice;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getImg() {
        return img;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Boolean getSelected() {
        return selected;
    }

    public void setSelected(Boolean selected) {
        this.selected = selected;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("mId", getmId())
                .append("typeId", getTypeId())
                .append("originalPrice", getOriginalPrice())
                .append("presentPrice", getPresentPrice())
                .append("introduction", getIntroduction())
                .append("img", getImg())
                .append("deleted", getDeleted())
                .toString();
    }
}

